import request from '@/utils/request'
import qs from 'qs'

export const MemberQueryAll = () =>
    request({
        url: '/tjtmeber/all',
        method: 'get'
    })

    export const MemberQueryLike = (search) =>
    request({
        url: '/tjtmeber',
        method: 'get',
        params:{
          name:search.name,
          phoneNumber:search.phoneNumber,
          fileNumber:search.fileNumber
        }
    })

    export const MemberDelete= (id) =>
    request({
        url: '/tjtmeber/'+id,
        method: 'delete'
    })

    export const MemberQueryById= (id) =>
    request({
        url: '/tjtmeber/'+id,
        method: 'get'
    })

    export const MemberUpd= (VipdaTj) =>
    request({
        url: '/tjtmeber',
        method: 'put',
        data:VipdaTj
    })

    export const Memberadd= (VipdaTj) =>
    request({
        url: '/tjtmeber',
        method: 'post',
        data:VipdaTj
    })

    export const queryAllThealthmgr= () =>
    request({
        url: '/tjtmeber/allThealthmgr',
        method: 'get'
    })

    export const queryAllhyCount= (nf) =>
    request({
        url: '/tjtOrdersetting/'+nf,
        method: 'get'
    })




